import request from "@/utils/request";

export function getAbout() {
    return request({
        url:'/about',
        method:'get'
    })
}

export function uploadImg(formdata) {
    return request({
        url:'/admin/articles/images',
        method:'post',
        data:formdata
    })
}

export function updateAbout(data) {
    return request({
        url:'/admin/about',
        method:'put',
        data:data
    })
}
